home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / internet / net commander 1.0 / DISK2 / PINAAC.SC_ / PINAAC.SC
Encoding:
Text File  |  1996-04-16  |  742 b   |  42 lines

  1. ;
  2. ; This is a script file that demonstrates how
  3. ; to establish a PPP connection with a host
  4. ; that uses a menu system.
  5. ;
  6. ; A script file must have a 'main' procedure.
  7. ; All script execution starts with this 'main'
  8. ; procedure.
  9. ;
  10.  
  11.  
  12. ; Main entry point to script
  13. ;
  14. proc main
  15.  
  16.    ; Delay for 3 seconds first to allow host time
  17.    ; to send initial characters.
  18.  
  19. ;   delay 3
  20. ;   transmit "^M"
  21.  
  22.    ; wait for Help:
  23.  
  24.    waitfor "elp:"
  25.    transmit "pinaac,v1.0"
  26.    transmit "^M"
  27.  
  28.    ; Wait for the login prompt before entering
  29.    ; the user ID: aacppp
  30.  
  31.    waitfor "ogin:"
  32.    transmit $USERID
  33.    transmit "^M"
  34.  
  35.    ; Enter the password: #caa123
  36.  
  37.    waitfor "ord:"
  38.    transmit $PASSWORD
  39.    transmit "^M"
  40.  
  41. endproc
  42.